﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using ElectronicCommerce.Framework.Collections;

namespace ElectronicCommerce.Framework.ServiceModel.Configuration
{
    /// <summary>
    /// 
    /// </summary>
    [XmlRoot("serviceBindingConfig", Namespace = NamespaceConst.NAMESPACE)]
    public class ServiceBindingConfig
    {
        private KeyedCollection<ServiceBindingElement> bindings;

        /// <summary>
        /// Service绑定配置集合
        /// </summary>
        [XmlElement("binding")]
        public KeyedCollection<ServiceBindingElement> Bindings
        {
            get { return bindings; }
            set { bindings = value; }
        }
    }
}
